package com.xiejr.converter;

import com.xiejr.model.entity.BaseEntity;

/**
 * @author mobai
 * @since 2021/2/11 11:05
 */
public interface BaseConverter<E extends BaseEntity,D extends BaseEntity.BaseDTO>{

    D entityToDto(E e);

    E dtoToEntity(D d);



    

}
